<?php 
  require_once("../../includes/config.php"); 
  if(isset($_GET['id']))
  {
    $users= query("SELECT * FROM apartments_owner LEFT join roles on roles.id = role WHERE user_id =?",$_GET['id']);
    $user = $users[0];
    renderWithoutHeader("settings/userManag/edit.php", array("user"=>$user));
    
  }  

?>